package com.xy.cloud;

import com.xy.cloud.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan(basePackages = {"com.xy.cloud.mapper"})
@EnableCustomSwagger2
@SpringBootApplication
@EnableFeignClients
public class XyBackstageApplication {

    public static void main(String[] args)
    {
        SpringApplication.run(XyBackstageApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  系统模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " swagger地址 /swagger-ui/index.html");
    }
}
